﻿@if (!ViewBag.IsAMReady)
{
    @Html.Action("SQITABLE", "AMSTAMM")
}
else
{
    if (ViewBag.IsEXORDReady)
    {
        if (!ViewBag.IsSTKNRReady)
        {
            @Html.Action("SSTKNR", "WBBST")
        }
    }
    else
    {
        if (!ViewBag.IsVAFReady)
        {
            @Html.Action("MNEWVA10", "VAFARBEN")
        }

        if (!ViewBag.IsVAReady)
        {
            @Html.Action("MNOFVA", "VAART")
        }
        if (!ViewBag.IsWFReady)
        {
            @Html.Action("MNOWS07", "WAFARBEN")
        }
        if (!ViewBag.IsWSReady)
        {
            @Html.Action("MNOWS", "WASTAMM")
        }
        if (!ViewBag.IsEXORDReady)
        {
            @Html.Action("PAB05RZ", "ABPOS")
            @Html.Action("PSHWB04", "WBDAT")
            @Html.Action("SSTKNR", "WBBST")
        }
        if (ViewBag.IsEXORDReady)
        {
            if (!ViewBag.IsSTKNRReady)
            {

            }
        }
    }
}
